
; CC8E Version 1.3D, Copyright (c) B Knudsen Data
; C compiler for the PIC18 microcontrollers
; ************  25. Oct 2011  11:45  *************

	processor  PIC18F4520
	radix  DEC

TRISB       EQU   0xF93
PORTB       EQU   0xF81

	GOTO main

  ; FILE lys1.c
			;void main()
			;{
main
			;	TRISB=0x00; // initialiser porten B til utport
	CLRF  TRISB,0
			;	PORTB=0; // slukk alle lys
	CLRF  PORTB,0
			;	PORTB.3=1; // tenn RB3-dioden
	BSF   PORTB,3,0
			;	PORTB.3=0; // slukkRB3-dioden
	BCF   PORTB,3,0
			;	PORTB.2=1; // tenn RB2-dioden
	BSF   PORTB,2,0
			;	PORTB.2=0; // slukk RB2-dioden
	BCF   PORTB,2,0
			;	while (1){ }
m001	BRA   m001

	END


; *** KEY INFO ***

; 0x000004    7 word(s)  0 % : main

; RAM usage: 0 bytes (0 local), 1536 bytes free
; Maximum call level: 0
; Total of 9 code words (0 %)
